package com.huiying.service;


import com.huiying.entity.dto.UserDTO;
import com.huiying.entity.entity.User;
import com.huiying.entity.vo.FollowVO;
import com.huiying.entity.vo.UserVO;

import java.util.List;

/**
 * @Author: lsh
 * @Date: 2024/10/25/21:25
 * @Description:
 */
public interface UserService {
    User login(String code);

    UserVO getById(Long id);

    void update(UserDTO userDTO);

    void follow(Long followeeId);

    void unfollow(Long followeeId);

    List<FollowVO> list();

    List<FollowVO> fansList();
}
